package avicit.bdp.dms.dss.enums;

import avicit.bdp.core.enums.BaseEnum;

/**
 * @author ma
 * api接口调用状态码
 */
public enum LogRecordCode implements BaseEnum {

    APPLY(1, "申请"),
    SELECT(2, "查询"),
    DOWNLOAD(3, "下载"),
    CALL_API(4, "调用API");

    private final int code;
    private final String description;

    LogRecordCode(int code, String description){
        this.code = code;
        this.description = description;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

}
